#if SILVERLIGHT
using System.Threading;
using System.Windows;
using System.Windows.Threading;

namespace RStein.Posterous.API
{
    
    public static class SilverlightSpecificHelper
    {        
        public static bool IsUiThread()
        {
            return Deployment.Current.CheckAccess();
        }
    }    
    
}
#endif